import request from '@/utils/request'

// 历史发布合作项目列表接口
// POST https://ds.pushiyixue.com/ds/project/get_history_project
export function get_history_project(data) {
  return request({
      url: '/ds/project/get_history_project',
      method: 'post',
      data
  })
}
// 参与合作项目的人的列表
// POST https://ds.pushiyixue.com/ds/project/get_history_project_details
export function get_history_project_details(data) {
  return request({
      url: '/ds/project/get_history_project_details',
      method: 'post',
      data
  })
}
// 是否同意合作接口(并接受应邀者的报价与完成周期)
// POST https://ds.pushiyixue.com/ds/project/update_project_cooperate
export function update_project_cooperate(data) {
  return request({
      url: '/ds/project/update_project_cooperate',
      method: 'post',
      data
  })
}
// 查看合作项目的详情接口，就是看到合作者提交的资料接口
// POST https://ds.pushiyixue.com/ds/project/get_invited_details
export function get_invited_details(data) {
  return request({
      url: '/ds/project/get_invited_details',
      method: 'post',
      data
  })
}
// 发布合作接口
// POST https://ds.pushiyixue.com/ds/project/set_project
export function set_project(data) {
  return request({
      url: '/ds/project/set_project',
      method: 'post',
      data
  })
}
// 上传文件接口
// POST https://ds.pushiyixue.com/ds/project/upload_project
export function upload_project(data) {
  return request({
      url: '/ds/project/upload_project',
      method: 'post',
      data
  })
}
// 查看项目的详情资料
// POST https://ds.pushiyixue.com/ds/project/get_project_details
export function get_project_details(data) {
  return request({
      url: '/ds/project/get_project_details',
      method: 'post',
      data
  })
}